@import "variables";

.tooltip-wrapper {
  position: relative;
}

.tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  background: $neutral-color-200;
  color: $neutral-color-900;
  padding: 6px;
  line-height: 14px;
  border-radius: 4px;
  transition: .4s ease all;
  transform: translateY(0px);
  opacity: 1;
  z-index: 2;
  visibility: visible;
  &::before {
    content: "";
    display: block;
    height: 8px;
    width: 8px;
    position: absolute;
    background: $neutral-color-200;
    transform: rotate(45deg);
    top: -4px;
  }
  &--is-hidden {
    transition: .2s ease all;
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
  }
}

